Worker Threads (1/2)
What are worker threads?
    The node:worker_threads module enables the use of threads that execute JavaScript in parallel. Workers (threads) are useful for performing CPU-intensive JavaScript operations. They don't help much with I/O-intensive work. The Node.js built-in asynchronous I/O operations are more efficient than Workers can be.
    List important properties available on worker_threads module:
    • Worker
    • isMainThread
    • parentPort
    • workerData
    • THERE ARE MORE

    Unlike child_process or cluster, worker_threads can share memory. They do so by transferring ArrayBuffer instances or sharing SharedArrayBuffer instances.